import {observable,action} from 'mobx'
import {setsessionstorage} from '../../utils/utils'
class Order {
    @observable curOrderID=0
    @observable curTeamId=0
    @action
    changeCurOrder(curId){
        this.curOrderID = curId
        setsessionstorage('curOrder',curId)
    }
    changeCurTeam(curTeamId){
        this.curTeamId = curTeamId
        setsessionstorage('curTeamId',curTeamId)
    }
}
export default Order